﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Dashboard.aspx.cs" Inherits="Web.Bid.Admin.Dashboard" %>

<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta http-equiv="Content-Language" content="zh-CN" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" href="http://static.silenthink.com/css/bootstrap.min.css" rel="stylesheet" />
    <script type="text/javascript" src="http://static.silenthink.com/js/jquery.min.js"></script>
</head>
<body>
    <div class="container-fluid">
        <div class="span2">
              <ul class="nav nav-list">
    <li class="nav-header">List header</li>
    <li class="active"><a href="#">Home</a></li>
    <li><a href="#">Library</a></li>
    
    </ul>
        </div>
        <div class="span10">
            <ul class="unstyled">
                <% foreach (var connection in Connections.All)
                   { %>
                <li onclick="$(this).next().toggle()" style="cursor: pointer"><strong>
                    <%=connection.Key %></strong><span>（<%=connection.Value.Count %>）个连接</span></li>
                <ol class="hide">
                    <% foreach (var c in connection.Value)
                       { %>
                    <li><span><%=c%></span></li>
                    <% } %>
                </ol>
                <% } %>
            </ul>

            <ul class="unstyled">
                <% foreach (var ipAddress in IpAddresses.All)
                   { %>
                <li onclick="$(this).next().toggle()" style="cursor: pointer"><strong>
                    <%=ipAddress.Key%></strong><span>（<%=ipAddress.Value.Count%>）个用户</span></li>
                <ol class="hide">
                    <% foreach (var c in ipAddress.Value)
                       { %>
                    <li><span><%=c%></span></li>
                    <% } %>
                </ol>
                <% } %>
            </ul>
        </div>
    </div>
</body>
</html>
